<script setup>
import { inject } from 'vue';
const themeColor = inject('theme-color')
 
const count = inject('count')

const changeCount123 = inject('changeCount')

const fn = ()=>{
    changeCount123(1000)
}
</script>

<template>
    <div>我是底层组件bottom--{{ themeColor }}--{{ count }}</div>
    <div @click="fn">子组件修改</div>
</template>

<style scoped>
</style>
